pp108 : Generating a Web Service Operation on a Data Transformation Model

Generating a Web Service Operation on a Data Transformation Model

This topic describes the procedure to generate a Web service Operation on a data transformation model.

Before you begin this task:
You should already have a data transformation model for generating a Web service.

You can generate Web service operations on a data transformation model in Process Platform using the Web service wizard and use them in a process or a Web page to offer specific functionality to users.

Note:
Method Sets are being referred as Web service Interfaces and Methods are referred as Web service Operations.

  1. From the Workspace Documents (Explorer), right-click your project and select New > Other. The New Process Platform Document window appears.
  2. Click (Web Service) from the New Process Platform Document window. The Untitled Web Service - Web Service wizard is displayed.
  3. Click Select the Source drop-down box, select Data Transformation from the list.
  4. Provide the appropriate name, description, and namespace for the Web service operation in the respective text boxes of the wizard.
  5. Click Next The next page on the wizard is displayed.
  6. Click next to the Select a Data Transformation field, select the required data transformation from the Select the Data Transformation dialog box that appears and click OK. The name of the selected data transformation is displayed in the Select a Data Transformation field.
  7. Type the names for Web service interface and Web service operations in the Web Service Interface Name and Web Service Operations Name in the respective fields of the Web Services Interface Information group box and click Finish. A Web service Properties page appears, displaying the target namespace, its prefix and the location URI in the Target Namespace, TNS Prefix and Location URI fields.

The data transformation model can now be used as a Web service operation and is displayed under Workspace Documents (Explorer) > <project> folder.

Note

  • To use the data transformation Web service, do the following:
    • Open Workspace Documents (Explorer) > <project>, and double-click the Web service Interface. In the Web Service Binding Properties pane that appears, select Data Transformation from the Service Group drop-down list. This will bind the Web service interface to the Service group.
    • Alternatively, you can attach the Web service to the Data Transformation Service Group at runtime. Refer to Attaching Web Service Interface to a Service Group for more information on the procedure to attach a Web service interface to a service group.
  • Right-click the required <Web service operation> in Workspace Documents (Explorer) and click Publish to Organization to make it available to an organization. If you do not specify the organization, it is published to the default organization that is set for the authenticated user.

Related tasks

Attaching Web Services to a Business Process Model
Using a Data Transformation Web Service in a Business Process Model
Creating a Data Transformation Model
Creating XML Schema Fragments
Transforming Data using XSLT Functions
Testing a Data Transformation Model

Related information

Testing Web Service Operations Using Service Test Tool